package com.jiexinyun.dto.request.androidworktask;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Schema(description = "通过码值查询想要导入的生产任务")
public class QueryWorkTaskByCodeReq {

    @NotNull(message = "ryId")
    @Schema(description = "人员ID", example = "101")
    private Integer ryId;

    @NotBlank(message = "批号不允许为空")
    @Schema(description = "二维码码值 老板说这个地方码值是批号", example = "20250729-1")
    private String code;

}
